home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
WINDOWS
/
WGREP12.ARJ
/
GREPDLL.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1992-05-01
|
1KB
|
41 lines
{--------------------------------------------------------------------------------------------}
{ Windows Grep v1.2
(c) 1992 H. Millington
GREPDLL.PAS: Interface unit for GREP.DLL
}
{--------------------------------------------------------------------------------------------}
unit GrepDLL;
interface
const
{--- Error code returns from CompileGrep ---}
GComp_NoError = 0;
GComp_IllegalOccuranceOp = 1;
GComp_UnknownType = 2;
GComp_NoType = 3;
GComp_BadClassTermination = 4;
GComp_UnterminatedClass = 5;
GComp_ClassTooLarge = 6;
GComp_EmptyClass = 7;
function GrepVersion : Word;
function CompileGrep(GrepString, CompiledGrep : PChar; IgnoreCase : char) : integer;
function Grep(StringToSearch, CompiledGrep : PChar) : Integer;
implementation
function Grep; external 'GREP' index 3;
function CompileGrep; external 'GREP' index 4;
function GrepVersion; external 'GREP' index 5;
end.